package com.etc.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.etc.dao.StatsMapper;
import com.etc.entity.Stats;
import com.etc.service.StatsService;

@Service(value="statsservice")
public class StatsServiceImpl implements StatsService {
	@Resource(name="statsdao")
	private StatsMapper sm;
	
	@Override
	public List<Stats> selectStats() {
		List<Stats> list=sm.selectStats();
		return list;
	}

}
